<?php



// Date mask YYYY-MM-DD
if(preg_match("/^[0-9]{4}\/[0-9]{4}$/", $_POST['Academicyear']) === 0){

//'<p class="errText">Date must comply with this mask: YYYY-MM-DD</p>';
		 header("Location:http://localhost/stms/pages/HometoAdmin.php?err=Academic year should be in the format of 2008/2009");}


	
?>